﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace L9SubSet.lwf
{
	// 单个灯具信息
	public class TubeData
	{
		public int control;		// 控制器
		public int port;		// 端口
		public int index;		// 索引值

		// 构造函数
		public TubeData()
		{
			control = 0;
			port = 0;
			index = 0;
		}

		// 构造函数
		public TubeData(int c, int p, int i)
		{
			control = c;
			port = p;
			index = i;
		}

		// 复制数据
		public TubeData Copy()
		{
			TubeData copyData = new TubeData();
			copyData.control = control;
			copyData.port = port;
			copyData.index = index;
			return copyData;
		}
	}
}
